package com.tanjor.common.mongodb;

import java.io.File;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.gridfs.GridFsOperations;
import org.springframework.data.mongodb.gridfs.GridFsTemplate;

import com.mongodb.gridfs.GridFSFile;
import com.mongodb.gridfs.GridFSInputFile;
import com.tanjor.common.mongodb.interfaces.MongoFileService;

public class MongoFileServiceImpl implements MongoFileService {

	@Autowired
	private GridFsTemplate gridFsTemplate;

	public String saveFile(File file, String fileName) {
		// TODO Auto-generated method stub
		/*
		GridFSFile gridfsFile = gridFsTemplate.store(content, fileName)
		 GridFSInputFile gfs = gridFS.createFile(file);*/

		return null;
	}
	
}
